package com.szxy.frontend.order.feigin;

import com.szxy.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @Auther:zwer
 * @Date:2019/9/26 11:40
 * @Description:com.szxy.frontend.order.feigin
 * @Version:1.0
 **/
@FeignClient(value="frontend-cart")
public interface FrontendCartFeignClient {

    @RequestMapping("/cart/deleteItemFromCart")
    Result deleteItemFromCart(@RequestParam("userId") String userId, @RequestParam("itemId")  Long itemId);

}
